import Vue from 'vue'
import VueRouter from 'vue-router'
//import detailBanke from '@/views/detailBanke.vue'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/login'
  },
  {
    path: '/login',
    name: 'login',
    component: () => import(/* webpackChunkName: "about" */ '../views/passport/login.vue')
  },
	{
		path: '/home',
		name: 'home',
		component: () => import(/* webpackChunkName: "about" */ '../views/Banke/home.vue'),
	},
	{
		path: '/home/detailBanke',
		name: 'detailBanke',
		component: () => import(/* webpackChunkName: "about" */ '../views/Banke/detailBanke.vue')
	},
	{
		path: '/home/detailBanke/detailMember',
		name: 'detailMember',
		component: () => import(/* webpackChunkName: "about" */ '../views/Banke/detailMember.vue')
	},
	{
		path: '/home/detailBanke/detailMember/detailExperience',
		name: 'detailExperience',
		component: () => import(/* webpackChunkName: "about" */ '../views/Banke/detailExperience.vue')
	},
	{
		path: '/home/detailBanke/changeBankeInfo',
		name: 'changeBankeInfo',
		component: () => import(/* webpackChunkName: "about" */ '../views/Banke/changeBankeInfo.vue')
	},
	{
		path: '/home/detailBanke/signIn',
		name: 'signIn',
		component: () => import(/* webpackChunkName: "about" */ '../views/Banke/signIn.vue')
	},
	{
		path: '/home/detailBanke/signIn/signInDetail',
		name: 'signInDetail',
		component: () => import(/* webpackChunkName: "about" */ '../views/Banke/signInDetail.vue')
	},
	{
		path: '/home/detailBanke/signIn/signInInfo',
		name: 'signInInfo',
		component: () => import(/* webpackChunkName: "about" */ '../views/Banke/signInInfo.vue')
	},
	// {
	// 	path: '/home/bkDetails',
	// 	name: 'bkDetails',
	// 	component: () => import(/* webpackChunkName: "about" */ '../views/detailBk/bkDetails.vue')
	// },
	// {
	// 	path: '/home/bkMember',
	// 	name: 'bkMember',
	// 	component: () => import(/* webpackChunkName: "about" */ '../views/detailBk/bkMember.vue')
	// },
	// {
	// 	path: '/home/bkNotice',
	// 	name: 'bkNotice',
	// 	component: () => import(/* webpackChunkName: "about" */ '../views/detailBk/bkNotice.vue')
	// },
	// {
	// 	path: '/home/bkSource',
	// 	name: 'bkSource',
	// 	component: () => import(/* webpackChunkName: "about" */ '../views/detailBk/bkSource.vue')
	// },
	{
		path: '/home/newBanke',
		name: 'newBanke',
		component: () => import(/* webpackChunkName: "about" */ '../views/Banke/newBanke.vue')
	},	
	{
		path: '/home/newBanke/newBankeSuccess',
		name: 'newBankeSuccess',
		component: () => import(/* webpackChunkName: "about" */ '../views/Banke/newBankeSuccess.vue')
	},	
	{
		path: '/signUp',
		name: 'signUp',
		component: () => import(/* webpackChunkName: "about" */ '../views/passport/signUp.vue')
	},
	{
		path: '/forgetPsw',
		name: 'forgetPsw',
		component: () => import(/* webpackChunkName: "about" */ '../views/passport/forgetPsw.vue')
	},
	{
		path: '/me/changePsw',
		name: 'changePsw',
		component: () => import(/* webpackChunkName: "about" */ '../views/me/changePsw.vue')
	},
	{
		path: '/me/personInfo',
		name: 'personInfo',
		component: () => import(/* webpackChunkName: "about" */ '../views/me/personInfo.vue')
	},
	{
		path: '/me/aboutMe',
		name: 'aboutMe',
		component: () => import(/* webpackChunkName: "about" */ '../views/me/aboutMe.vue')
	},
	{
		path: '/me/man',
		name: 'man',
		component: () => import(/* webpackChunkName: "about" */ '../views/me/man.vue')
	},
	{
		path: '/QR',
		name: 'QR',
		component: () => import(/* webpackChunkName: "about" */ '../views/QR.vue')
	},
	{
		path: '/CQR', // create QR
		name: 'CQR',
		component: () => import(/* webpackChunkName: "about" */ '../views/CQR.vue') 
	},
	// {
	// 	path: '/userInfo',
	// 	name: 'userInfo',
	// 	component: () => import(/* webpackChunkName: "about" */ '../components/userInfo.vue')
	// }
]

const router = new VueRouter({
  routes
})


export default router
